
#talk{
    display: none;
}

.container {
    display: none;
    flex-direction: row;
    height: 100vh;
    width: 100%;
}

.sidebar {
    width: 20%;
    background-color: #e2ebf0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    padding: 20px;
}

.functions {
    margin-top: 120px;
}

.functions button {
    width: 100%;
    padding: 30px;
    margin-bottom: 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
}
.btn-small {
    background-color: oldlace;
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-small i {
    margin-right: 5px;
}
.notifications {
    margin-top: auto;
    width: 100%;
    height: 50%;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 50px;
}

.chatbox {
    width: 80%;
    background-color: #f9fdeb;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-top: 75px;
}

.chatlog {
    padding-top: 30px;
    width: 100%;
    height: 80%;
    overflow-y: auto;
}

.message {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.user-message {
    justify-content: flex-end;
    max-width: 80%;
    margin-left: auto;
}

.other-message {
    justify-content: flex-start;
    max-width: 80%;
    margin-right: auto;
}

.user-message .avatar {
    margin-right: 0;
    margin-left: 10px;
}

.other-message .avatar {
    margin-right: 10px;
    margin-left: 0;
}

.message p {
    padding: 10px;
    border-radius: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.user-message p {
    background-color: #fff;
    color: #333;
    border-top-right-radius: 0;
    margin-right: 10px;
}

.other-message p {
    background-color: #007bff;
    color: #fff;
    border-top-left-radius: 0;
    margin-left: 10px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 10px;
}

.chat-input {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.chat-input input[type="text"] {
    width: 80%;
    padding: 10px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
}
.toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100px;
    width: 75%;
    padding: 0 20px;
    background-color: hsl(42, 60%, 80%);
    outline: none;
    border-bottom:0.5px solid rgba(0, 0, 0, 0.2);
    outline-offset: -2px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
}
.toolbar h1{
    flex-grow: 4;
    text-align: center;
    font-size: 35px;
}
.toolbar button:hover {
    color: #666;
}

.toolbar button {
    width: 42px;
    height: 42px;
    background-color:hsl(0, 0%, 95%);
    margin: 10px;
    border-radius: 12px;
}


.toolbar button i {
    transform: scale(1);
}
.dropdown {
    margin-right: 10px;
}

select {
    font-size: 16px;
    max-width: 85px;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select:focus {
    outline: none;
}

.spacer {
    flex-grow: 1;
}
.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 20%;
}

.send-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.voice-btn {
    background-color: seagreen;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.dropdown{
    visibility: hidden;
    /*
    visibility: visible;
    */
}
.container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}
html, body {
    height: 100%;
    overflow: hidden;
}

#free_0, #free_1, #free_2, #free_3 {
    margin-bottom: 10px;
}

#free_sub {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
}

#free_sub:hover {
    background-color: #3e8e41;
}
